import { ApiProperty } from '@nestjs/swagger';
import { IsNumber, IsString } from 'class-validator';

/**
 * 创建简历
 */
export class CreateResumeDto {
  @ApiProperty({ description: '存储地址' })
  @IsString()
  url: string;

  @ApiProperty({ description: '简历名称' })
  @IsString()
  name: string;

  @ApiProperty({ description: '简历类型' })
  @IsString()
  type: string;
}
